package cn.foolishbird.crow.core;

/**
 * @author foolish bird
 * @email luohongtu@foolishbird.cn
 */
public abstract class AbstractIdentityStrategy<T extends CrowEnum> implements IdentityStrategy<T> {

    /**
     * 策略身份
     */
    protected T identify;


    public AbstractIdentityStrategy(T identify) {
        this.identify = identify;
    }

    @Override
    public T identity() {
        return this.identify;
    }
}
